<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<HTML>
  
  <HEAD><META CONTENT="text/html; charset=utf-8" HTTP-EQUIV="Content-Type">
    <TITLE>nwscode.pydatetime.datetime</TITLE>
    <LINK HREF="layout.css" TYPE="text/css" REL="stylesheet">
    
  </HEAD>
  <BODY>
    <DIV ID="page">
      
    <DIV ID="top-nav">
        <H1 ID="doc-title">
        <A HREF="index.html" REL="index">nwscode</A></H1>
        <DIV CLASS="online-navigation">
          <A HREF="index.html" REL="index">index</A>
          <SPAN ID="nav-docs">
            
          </SPAN>
          
          
          <BR>
          
          
          
          <A HREF="module-nwscode.html" TITLE="nwscode reference">
            nwscode
          </A>
          
            
            <A HREF="class-nwscode.pydatetime.datetime.html">details</A>
            
            <A HREF="class-nwscode.pydatetime.datetime-index.html">
              tree
            </A>
            
          
        </DIV>
    </DIV>
    
    <DIV ID="main-content">
  
  <H1 CLASS="pudge-member-page-heading">
    <TT>datetime</TT>
  </H1>
  
  <P CLASS="pudge-member-parent-link">
    <SMALL>
    The datetime class is accessible via the
    <A HREF="module-nwscode.pydatetime.html">
      <TT>nwscode.pydatetime</TT>
    </A> module.
    </SMALL>
  </P>
  <DIV ID="pudge-section-nav">
  <UL>
    <LI>
      <A HREF="#attributes" CLASS="pudge-section-link">
        Attributes (12)
      </A>
      
    </LI>
      
    <LI>
      <A HREF="#methods" CLASS="pudge-section-link">
        Methods (34)
      </A>
      
    </LI>
    
    <LI>
      <A HREF="nwscode/pydatetime.py.html?f=1361&amp;l=1794#1361" CLASS="pudge-section-link">
        Source
      </A>
    </LI>
  </UL>
  </DIV>
  <DIV STYLE="clear: left">
  </DIV>
  
  
  <HR>
  
  
  
  
  
    <A NAME="attributes">
  
  
    </A>
    <H2>Attributes</H2>
    <DIV CLASS="pudge-member name">
    <A NAME="second">
    </A>
    <H4 CLASS="pudge-member-name">
    <SPAN CLASS="prefix">a</SPAN>
      <TT>
      <A HREF="class-nwscode.pydatetime.datetime.html#second" CLASS="pudge-obj-link">second</A></TT></H4>
    <DIV CLASS="pudge-section rst">
      <P>second (0-59)</P>
      
    </DIV>
  </DIV>
  <DIV CLASS="pudge-member name">
    <A NAME="year">
    </A>
    <H4 CLASS="pudge-member-name">
    <SPAN CLASS="prefix">a</SPAN>
      <TT>
      <A HREF="class-nwscode.pydatetime.datetime.html#year" CLASS="pudge-obj-link">year</A></TT></H4>
    <DIV CLASS="pudge-section rst">
      <P>year (1-9999)</P>
      
    </DIV>
  </DIV>
  <DIV CLASS="pudge-member name">
    <A NAME="min">
    </A>
    <H4 CLASS="pudge-member-name">
    <SPAN CLASS="prefix">a</SPAN>
      <TT>
      <A HREF="class-nwscode.pydatetime.datetime.html#min" CLASS="pudge-obj-link">min</A></TT></H4>
    <DIV CLASS="pudge-section rst">
      
      <PRE>datetime.datetime(1, 1, 1)</PRE>
    </DIV>
  </DIV>
  <DIV CLASS="pudge-member name">
    <A NAME="__safe_for_unpickling__">
    </A>
    <H4 CLASS="pudge-member-name">
    <SPAN CLASS="prefix">a</SPAN>
      <TT>
      <A HREF="class-nwscode.pydatetime.datetime.html#__safe_for_unpickling__" CLASS="pudge-obj-link">__safe_for_unpickling__</A></TT></H4>
    <DIV CLASS="pudge-section rst">
      
      <PRE>True</PRE>
    </DIV>
  </DIV>
  <DIV CLASS="pudge-member name">
    <A NAME="tzinfo">
    </A>
    <H4 CLASS="pudge-member-name">
    <SPAN CLASS="prefix">a</SPAN>
      <TT>
      <A HREF="class-nwscode.pydatetime.datetime.html#tzinfo" CLASS="pudge-obj-link">tzinfo</A></TT></H4>
    <DIV CLASS="pudge-section rst">
      <P>timezone info object</P>
      
    </DIV>
  </DIV>
  <DIV CLASS="pudge-member name">
    <A NAME="month">
    </A>
    <H4 CLASS="pudge-member-name">
    <SPAN CLASS="prefix">a</SPAN>
      <TT>
      <A HREF="class-nwscode.pydatetime.datetime.html#month" CLASS="pudge-obj-link">month</A></TT></H4>
    <DIV CLASS="pudge-section rst">
      <P>month (1-12)</P>
      
    </DIV>
  </DIV>
  <DIV CLASS="pudge-member name">
    <A NAME="max">
    </A>
    <H4 CLASS="pudge-member-name">
    <SPAN CLASS="prefix">a</SPAN>
      <TT>
      <A HREF="class-nwscode.pydatetime.datetime.html#max" CLASS="pudge-obj-link">max</A></TT></H4>
    <DIV CLASS="pudge-section rst">
      
      <PRE>datetime.datetime(9999, 12, 31, 23, 59, 59, 999999)</PRE>
    </DIV>
  </DIV>
  <DIV CLASS="pudge-member name">
    <A NAME="microsecond">
    </A>
    <H4 CLASS="pudge-member-name">
    <SPAN CLASS="prefix">a</SPAN>
      <TT>
      <A HREF="class-nwscode.pydatetime.datetime.html#microsecond" CLASS="pudge-obj-link">microsecond</A></TT></H4>
    <DIV CLASS="pudge-section rst">
      <P>microsecond (0-999999)</P>
      
    </DIV>
  </DIV>
  <DIV CLASS="pudge-member name">
    <A NAME="day">
    </A>
    <H4 CLASS="pudge-member-name">
    <SPAN CLASS="prefix">a</SPAN>
      <TT>
      <A HREF="class-nwscode.pydatetime.datetime.html#day" CLASS="pudge-obj-link">day</A></TT></H4>
    <DIV CLASS="pudge-section rst">
      <P>day (1-31)</P>
      
    </DIV>
  </DIV>
  <DIV CLASS="pudge-member name">
    <A NAME="minute">
    </A>
    <H4 CLASS="pudge-member-name">
    <SPAN CLASS="prefix">a</SPAN>
      <TT>
      <A HREF="class-nwscode.pydatetime.datetime.html#minute" CLASS="pudge-obj-link">minute</A></TT></H4>
    <DIV CLASS="pudge-section rst">
      <P>minute (0-59)</P>
      
    </DIV>
  </DIV>
  <DIV CLASS="pudge-member name">
    <A NAME="hour">
    </A>
    <H4 CLASS="pudge-member-name">
    <SPAN CLASS="prefix">a</SPAN>
      <TT>
      <A HREF="class-nwscode.pydatetime.datetime.html#hour" CLASS="pudge-obj-link">hour</A></TT></H4>
    <DIV CLASS="pudge-section rst">
      <P>hour (0-23)</P>
      
    </DIV>
  </DIV>
  <DIV CLASS="pudge-member name">
    <A NAME="resolution">
    </A>
    <H4 CLASS="pudge-member-name">
    <SPAN CLASS="prefix">a</SPAN>
      <TT>
      <A HREF="class-nwscode.pydatetime.datetime.html#resolution" CLASS="pudge-obj-link">resolution</A></TT></H4>
    <DIV CLASS="pudge-section rst">
      
      <PRE>datetime.timedelta(0, 0, 1)</PRE>
    </DIV>
  </DIV>
    
  
    <A NAME="methods">
    
  
    </A>
    <H2>Methods</H2>
    <DIV CLASS="pudge-member routine alias">
    <A NAME="__init__">
    </A>
    <H4 CLASS="pudge-member-name">
    <SPAN CLASS="prefix">f</SPAN>
      <TT>
      <A HREF="class-nwscode.pydatetime.datetime.html#__init__" CLASS="pudge-obj-link">__init__</A>(...)</TT>
      <A HREF="__builtin__.py.html" TITLE="View Source">...</A>
    </H4>
    <DIV CLASS="pudge-section rst">
      
    <P CLASS="pudge-member-blurb">
      x.__init__(...) initializes x; see x.__class__.__doc__ for signature
    </P>
    
  
    </DIV>
  </DIV>
  <DIV CLASS="pudge-member routine ">
    <A NAME="today">
    </A>
    <H4 CLASS="pudge-member-name">
    <SPAN CLASS="prefix">f</SPAN>
      <TT>
      <A HREF="class-nwscode.pydatetime.datetime.html#today" CLASS="pudge-obj-link">today</A>(cls)</TT>
      <A HREF="nwscode/pydatetime.py.html?f=756&amp;l=760#756" TITLE="View Source">...</A>
    </H4>
    <DIV CLASS="pudge-section rst">
      
    <P CLASS="pudge-member-blurb">
      Construct a date from time.time().
    </P>
    
  
    </DIV>
  </DIV>
  <DIV CLASS="pudge-member routine ">
    <A NAME="fromordinal">
    </A>
    <H4 CLASS="pudge-member-name">
    <SPAN CLASS="prefix">f</SPAN>
      <TT>
      <A HREF="class-nwscode.pydatetime.datetime.html#fromordinal" CLASS="pudge-obj-link">fromordinal</A>(cls, n)</TT>
      <A HREF="nwscode/pydatetime.py.html?f=762&amp;l=770#762" TITLE="View Source">...</A>
    </H4>
    <DIV CLASS="pudge-section rst">
      
    <P CLASS="pudge-member-blurb">
      Contruct a date from a proleptic Gregorian ordinal.
    </P>
    <P>January 1 of year 1 is day 1.  Only the year, month and day are
non-zero in the result.</P>
  
    </DIV>
  </DIV>
  <DIV CLASS="pudge-member routine ">
    <A NAME="strftime">
    </A>
    <H4 CLASS="pudge-member-name">
    <SPAN CLASS="prefix">f</SPAN>
      <TT>
      <A HREF="class-nwscode.pydatetime.datetime.html#strftime" CLASS="pudge-obj-link">strftime</A>(self, fmt)</TT>
      <A HREF="nwscode/pydatetime.py.html?f=789&amp;l=792#789" TITLE="View Source">...</A>
    </H4>
    <DIV CLASS="pudge-section rst">
      
    <P CLASS="pudge-member-blurb">
      Format using strftime().
    </P>
    
  
    </DIV>
  </DIV>
  <DIV CLASS="pudge-member routine ">
    <A NAME="toordinal">
    </A>
    <H4 CLASS="pudge-member-name">
    <SPAN CLASS="prefix">f</SPAN>
      <TT>
      <A HREF="class-nwscode.pydatetime.datetime.html#toordinal" CLASS="pudge-obj-link">toordinal</A>(self)</TT>
      <A HREF="nwscode/pydatetime.py.html?f=819&amp;l=826#819" TITLE="View Source">...</A>
    </H4>
    <DIV CLASS="pudge-section rst">
      
    <P CLASS="pudge-member-blurb">
      Return proleptic Gregorian ordinal for the year, month and day.
    </P>
    <P>January 1 of year 1 is day 1.  Only the year, month and day values
contribute to the result.</P>
  
    </DIV>
  </DIV>
  <DIV CLASS="pudge-member routine ">
    <A NAME="weekday">
    </A>
    <H4 CLASS="pudge-member-name">
    <SPAN CLASS="prefix">f</SPAN>
      <TT>
      <A HREF="class-nwscode.pydatetime.datetime.html#weekday" CLASS="pudge-obj-link">weekday</A>(self)</TT>
      <A HREF="nwscode/pydatetime.py.html?f=929&amp;l=932#929" TITLE="View Source">...</A>
    </H4>
    <DIV CLASS="pudge-section rst">
      
    <P CLASS="pudge-member-blurb">
      Return day of the week, where Monday == 0 ... Sunday == 6.
    </P>
    
  
    </DIV>
  </DIV>
  <DIV CLASS="pudge-member routine ">
    <A NAME="isoweekday">
    </A>
    <H4 CLASS="pudge-member-name">
    <SPAN CLASS="prefix">f</SPAN>
      <TT>
      <A HREF="class-nwscode.pydatetime.datetime.html#isoweekday" CLASS="pudge-obj-link">isoweekday</A>(self)</TT>
      <A HREF="nwscode/pydatetime.py.html?f=935&amp;l=939#935" TITLE="View Source">...</A>
    </H4>
    <DIV CLASS="pudge-section rst">
      
    <P CLASS="pudge-member-blurb">
      Return day of the week, where Monday == 1 ... Sunday == 7.
    </P>
    
  
    </DIV>
  </DIV>
  <DIV CLASS="pudge-member routine ">
    <A NAME="isocalendar">
    </A>
    <H4 CLASS="pudge-member-name">
    <SPAN CLASS="prefix">f</SPAN>
      <TT>
      <A HREF="class-nwscode.pydatetime.datetime.html#isocalendar" CLASS="pudge-obj-link">isocalendar</A>(self)</TT>
      <A HREF="nwscode/pydatetime.py.html?f=940&amp;l=966#940" TITLE="View Source">...</A>
    </H4>
    <DIV CLASS="pudge-section rst">
      
    <P CLASS="pudge-member-blurb">
      Return a 3-tuple containing ISO year, week number, and weekday.
    </P>
    <P>The first ISO week of the year is the (Mon-Sun) week
containing the year's first Thursday; everything else derives
from that.</P>
<P>The first week is 1; Monday is 1 ... Sunday is 7.</P>
<P>ISO calendar algorithm taken from
<A HREF="http://www.phys.uu.nl/~vgent/calendar/isocalendar.htm" CLASS="reference">http://www.phys.uu.nl/~vgent/calendar/isocalendar.htm</A></P>
  
    </DIV>
  </DIV>
  <DIV CLASS="pudge-member routine ">
    <A NAME="fromtimestamp">
    </A>
    <H4 CLASS="pudge-member-name">
    <SPAN CLASS="prefix">f</SPAN>
      <TT>
      <A HREF="class-nwscode.pydatetime.datetime.html#fromtimestamp" CLASS="pudge-obj-link">fromtimestamp</A>(cls, t, tz=None)</TT>
      <A HREF="nwscode/pydatetime.py.html?f=1395&amp;l=1413#1395" TITLE="View Source">...</A>
    </H4>
    <DIV CLASS="pudge-section rst">
      
    <P CLASS="pudge-member-blurb">
      Construct a datetime from a POSIX timestamp (like time.time()).
    </P>
    <P>A timezone info object may be passed in as well.</P>
  
    </DIV>
  </DIV>
  <DIV CLASS="pudge-member routine ">
    <A NAME="utcfromtimestamp">
    </A>
    <H4 CLASS="pudge-member-name">
    <SPAN CLASS="prefix">f</SPAN>
      <TT>
      <A HREF="class-nwscode.pydatetime.datetime.html#utcfromtimestamp" CLASS="pudge-obj-link">utcfromtimestamp</A>(cls, t)</TT>
      <A HREF="nwscode/pydatetime.py.html?f=1415&amp;l=1421#1415" TITLE="View Source">...</A>
    </H4>
    <DIV CLASS="pudge-section rst">
      
    <P CLASS="pudge-member-blurb">
      Construct a UTC datetime from a POSIX timestamp (like time.time()).
    </P>
    
  
    </DIV>
  </DIV>
  <DIV CLASS="pudge-member routine ">
    <A NAME="now">
    </A>
    <H4 CLASS="pudge-member-name">
    <SPAN CLASS="prefix">f</SPAN>
      <TT>
      <A HREF="class-nwscode.pydatetime.datetime.html#now" CLASS="pudge-obj-link">now</A>(cls, tz=None)</TT>
      <A HREF="nwscode/pydatetime.py.html?f=1428&amp;l=1432#1428" TITLE="View Source">...</A>
    </H4>
    <DIV CLASS="pudge-section rst">
      
    <P CLASS="pudge-member-blurb">
      Construct a datetime from time.time() and optional time zone info.
    </P>
    
  
    </DIV>
  </DIV>
  <DIV CLASS="pudge-member routine ">
    <A NAME="utcnow">
    </A>
    <H4 CLASS="pudge-member-name">
    <SPAN CLASS="prefix">f</SPAN>
      <TT>
      <A HREF="class-nwscode.pydatetime.datetime.html#utcnow" CLASS="pudge-obj-link">utcnow</A>(cls)</TT>
      <A HREF="nwscode/pydatetime.py.html?f=1434&amp;l=1438#1434" TITLE="View Source">...</A>
    </H4>
    <DIV CLASS="pudge-section rst">
      
    <P CLASS="pudge-member-blurb">
      Construct a UTC datetime from time.time().
    </P>
    
  
    </DIV>
  </DIV>
  <DIV CLASS="pudge-member routine ">
    <A NAME="combine">
    </A>
    <H4 CLASS="pudge-member-name">
    <SPAN CLASS="prefix">f</SPAN>
      <TT>
      <A HREF="class-nwscode.pydatetime.datetime.html#combine" CLASS="pudge-obj-link">combine</A>(cls, date, time)</TT>
      <A HREF="nwscode/pydatetime.py.html?f=1440&amp;l=1449#1440" TITLE="View Source">...</A>
    </H4>
    <DIV CLASS="pudge-section rst">
      
    <P CLASS="pudge-member-blurb">
      Construct a datetime from a given date and a given time.
    </P>
    
  
    </DIV>
  </DIV>
  <DIV CLASS="pudge-member routine ">
    <A NAME="timetuple">
    </A>
    <H4 CLASS="pudge-member-name">
    <SPAN CLASS="prefix">f</SPAN>
      <TT>
      <A HREF="class-nwscode.pydatetime.datetime.html#timetuple" CLASS="pudge-obj-link">timetuple</A>(self)</TT>
      <A HREF="nwscode/pydatetime.py.html?f=1451&amp;l=1461#1451" TITLE="View Source">...</A>
    </H4>
    <DIV CLASS="pudge-section rst">
      
    <P CLASS="pudge-member-blurb">
      Return local time tuple compatible with time.localtime().
    </P>
    
  
    </DIV>
  </DIV>
  <DIV CLASS="pudge-member routine ">
    <A NAME="utctimetuple">
    </A>
    <H4 CLASS="pudge-member-name">
    <SPAN CLASS="prefix">f</SPAN>
      <TT>
      <A HREF="class-nwscode.pydatetime.datetime.html#utctimetuple" CLASS="pudge-obj-link">utctimetuple</A>(self)</TT>
      <A HREF="nwscode/pydatetime.py.html?f=1462&amp;l=1472#1462" TITLE="View Source">...</A>
    </H4>
    <DIV CLASS="pudge-section rst">
      
    <P CLASS="pudge-member-blurb">
      Return UTC time tuple compatible with time.gmtime().
    </P>
    
  
    </DIV>
  </DIV>
  <DIV CLASS="pudge-member routine ">
    <A NAME="date">
    </A>
    <H4 CLASS="pudge-member-name">
    <SPAN CLASS="prefix">f</SPAN>
      <TT>
      <A HREF="class-nwscode.pydatetime.datetime.html#date" CLASS="pudge-obj-link">date</A>(self)</TT>
      <A HREF="nwscode/pydatetime.py.html?f=1473&amp;l=1476#1473" TITLE="View Source">...</A>
    </H4>
    <DIV CLASS="pudge-section rst">
      
    <P CLASS="pudge-member-blurb">
      Return the date part.
    </P>
    
  
    </DIV>
  </DIV>
  <DIV CLASS="pudge-member routine ">
    <A NAME="time">
    </A>
    <H4 CLASS="pudge-member-name">
    <SPAN CLASS="prefix">f</SPAN>
      <TT>
      <A HREF="class-nwscode.pydatetime.datetime.html#time" CLASS="pudge-obj-link">time</A>(self)</TT>
      <A HREF="nwscode/pydatetime.py.html?f=1477&amp;l=1480#1477" TITLE="View Source">...</A>
    </H4>
    <DIV CLASS="pudge-section rst">
      
    <P CLASS="pudge-member-blurb">
      Return the time part, with tzinfo None.
    </P>
    
  
    </DIV>
  </DIV>
  <DIV CLASS="pudge-member routine ">
    <A NAME="timetz">
    </A>
    <H4 CLASS="pudge-member-name">
    <SPAN CLASS="prefix">f</SPAN>
      <TT>
      <A HREF="class-nwscode.pydatetime.datetime.html#timetz" CLASS="pudge-obj-link">timetz</A>(self)</TT>
      <A HREF="nwscode/pydatetime.py.html?f=1481&amp;l=1485#1481" TITLE="View Source">...</A>
    </H4>
    <DIV CLASS="pudge-section rst">
      
    <P CLASS="pudge-member-blurb">
      Return the time part, with same tzinfo.
    </P>
    
  
    </DIV>
  </DIV>
  <DIV CLASS="pudge-member routine ">
    <A NAME="replace">
    </A>
    <H4 CLASS="pudge-member-name">
    <SPAN CLASS="prefix">f</SPAN>
      <TT>
      <A HREF="class-nwscode.pydatetime.datetime.html#replace" CLASS="pudge-obj-link">replace</A>(self, year=None, month=None, day=None, hour=None, minute=None, second=None, microsecond=None, tzinfo=True)</TT>
      <A HREF="nwscode/pydatetime.py.html?f=1486&amp;l=1510#1486" TITLE="View Source">...</A>
    </H4>
    <DIV CLASS="pudge-section rst">
      
    <P CLASS="pudge-member-blurb">
      Return a new datetime with new values for the specified fields.
    </P>
    
  
    </DIV>
  </DIV>
  <DIV CLASS="pudge-member routine ">
    <A NAME="astimezone">
    </A>
    <H4 CLASS="pudge-member-name">
    <SPAN CLASS="prefix">f</SPAN>
      <TT>
      <A HREF="class-nwscode.pydatetime.datetime.html#astimezone" CLASS="pudge-obj-link">astimezone</A>(self, tz)</TT>
      <A HREF="nwscode/pydatetime.py.html?f=1511&amp;l=1530#1511" TITLE="View Source">...</A>
    </H4>
    <DIV CLASS="pudge-section rst">
      
    
    
  
    </DIV>
  </DIV>
  <DIV CLASS="pudge-member routine ">
    <A NAME="ctime">
    </A>
    <H4 CLASS="pudge-member-name">
    <SPAN CLASS="prefix">f</SPAN>
      <TT>
      <A HREF="class-nwscode.pydatetime.datetime.html#ctime" CLASS="pudge-obj-link">ctime</A>(self)</TT>
      <A HREF="nwscode/pydatetime.py.html?f=1533&amp;l=1538#1533" TITLE="View Source">...</A>
    </H4>
    <DIV CLASS="pudge-section rst">
      
    <P CLASS="pudge-member-blurb">
      Format a la ctime().
    </P>
    
  
    </DIV>
  </DIV>
  <DIV CLASS="pudge-member routine ">
    <A NAME="isoformat">
    </A>
    <H4 CLASS="pudge-member-name">
    <SPAN CLASS="prefix">f</SPAN>
      <TT>
      <A HREF="class-nwscode.pydatetime.datetime.html#isoformat" CLASS="pudge-obj-link">isoformat</A>(self, sep='T')</TT>
      <A HREF="nwscode/pydatetime.py.html?f=1539&amp;l=1565#1539" TITLE="View Source">...</A>
    </H4>
    <DIV CLASS="pudge-section rst">
      
    <P CLASS="pudge-member-blurb">
      Return the time formatted according to ISO.
    </P>
    <P>This is 'YYYY-MM-DD HH:MM:SS.mmmmmm', or 'YYYY-MM-DD HH:MM:SS' if
self.microsecond == 0.</P>
<P>If self.tzinfo is not None, the UTC offset is also attached, giving
'YYYY-MM-DD HH:MM:SS.mmmmmm+HH:MM' or 'YYYY-MM-DD HH:MM:SS+HH:MM'.</P>
<P>Optional argument sep specifies the separator between date and
time, default 'T'.</P>
  
    </DIV>
  </DIV>
  <DIV CLASS="pudge-member routine ">
    <A NAME="utcoffset">
    </A>
    <H4 CLASS="pudge-member-name">
    <SPAN CLASS="prefix">f</SPAN>
      <TT>
      <A HREF="class-nwscode.pydatetime.datetime.html#utcoffset" CLASS="pudge-obj-link">utcoffset</A>(self)</TT>
      <A HREF="nwscode/pydatetime.py.html?f=1583&amp;l=1591#1583" TITLE="View Source">...</A>
    </H4>
    <DIV CLASS="pudge-section rst">
      
    <P CLASS="pudge-member-blurb">
      Return the timezone offset in minutes east of UTC (negative west of
UTC).
    </P>
    
  
    </DIV>
  </DIV>
  <DIV CLASS="pudge-member routine ">
    <A NAME="tzname">
    </A>
    <H4 CLASS="pudge-member-name">
    <SPAN CLASS="prefix">f</SPAN>
      <TT>
      <A HREF="class-nwscode.pydatetime.datetime.html#tzname" CLASS="pudge-obj-link">tzname</A>(self)</TT>
      <A HREF="nwscode/pydatetime.py.html?f=1598&amp;l=1608#1598" TITLE="View Source">...</A>
    </H4>
    <DIV CLASS="pudge-section rst">
      
    <P CLASS="pudge-member-blurb">
      Return the timezone name.
    </P>
    <P>Note that the name is 100% informational -- there's no requirement that
it mean anything in particular. For example, "GMT", "UTC", "-500",
"-5:00", "EDT", "US/Eastern", "America/New York" are all valid replies.</P>
  
    </DIV>
  </DIV>
  <DIV CLASS="pudge-member routine ">
    <A NAME="dst">
    </A>
    <H4 CLASS="pudge-member-name">
    <SPAN CLASS="prefix">f</SPAN>
      <TT>
      <A HREF="class-nwscode.pydatetime.datetime.html#dst" CLASS="pudge-obj-link">dst</A>(self)</TT>
      <A HREF="nwscode/pydatetime.py.html?f=1609&amp;l=1623#1609" TITLE="View Source">...</A>
    </H4>
    <DIV CLASS="pudge-section rst">
      
    <P CLASS="pudge-member-blurb">
      Return 0 if DST is not in effect, or the DST offset (in minutes
eastward) if DST is in effect.
    </P>
    <P>This is purely informational; the DST offset has already been added to
the UTC offset returned by utcoffset() if applicable, so there's no
need to consult dst() unless you're interested in displaying the DST
info.</P>
  
    </DIV>
  </DIV>
  <DIV CLASS="pudge-member routine ">
    <A NAME="__eq__">
    </A>
    <H4 CLASS="pudge-member-name">
    <SPAN CLASS="prefix">f</SPAN>
      <TT>
      <A HREF="class-nwscode.pydatetime.datetime.html#__eq__" CLASS="pudge-obj-link">__eq__</A>(self, other)</TT>
      <A HREF="nwscode/pydatetime.py.html?f=1632&amp;l=1639#1632" TITLE="View Source">...</A>
    </H4>
    <DIV CLASS="pudge-section rst">
      
    
    
  
    </DIV>
  </DIV>
  <DIV CLASS="pudge-member routine ">
    <A NAME="__ne__">
    </A>
    <H4 CLASS="pudge-member-name">
    <SPAN CLASS="prefix">f</SPAN>
      <TT>
      <A HREF="class-nwscode.pydatetime.datetime.html#__ne__" CLASS="pudge-obj-link">__ne__</A>(self, other)</TT>
      <A HREF="nwscode/pydatetime.py.html?f=1640&amp;l=1647#1640" TITLE="View Source">...</A>
    </H4>
    <DIV CLASS="pudge-section rst">
      
    
    
  
    </DIV>
  </DIV>
  <DIV CLASS="pudge-member routine ">
    <A NAME="__le__">
    </A>
    <H4 CLASS="pudge-member-name">
    <SPAN CLASS="prefix">f</SPAN>
      <TT>
      <A HREF="class-nwscode.pydatetime.datetime.html#__le__" CLASS="pudge-obj-link">__le__</A>(self, other)</TT>
      <A HREF="nwscode/pydatetime.py.html?f=1648&amp;l=1655#1648" TITLE="View Source">...</A>
    </H4>
    <DIV CLASS="pudge-section rst">
      
    
    
  
    </DIV>
  </DIV>
  <DIV CLASS="pudge-member routine ">
    <A NAME="__lt__">
    </A>
    <H4 CLASS="pudge-member-name">
    <SPAN CLASS="prefix">f</SPAN>
      <TT>
      <A HREF="class-nwscode.pydatetime.datetime.html#__lt__" CLASS="pudge-obj-link">__lt__</A>(self, other)</TT>
      <A HREF="nwscode/pydatetime.py.html?f=1656&amp;l=1663#1656" TITLE="View Source">...</A>
    </H4>
    <DIV CLASS="pudge-section rst">
      
    
    
  
    </DIV>
  </DIV>
  <DIV CLASS="pudge-member routine ">
    <A NAME="__ge__">
    </A>
    <H4 CLASS="pudge-member-name">
    <SPAN CLASS="prefix">f</SPAN>
      <TT>
      <A HREF="class-nwscode.pydatetime.datetime.html#__ge__" CLASS="pudge-obj-link">__ge__</A>(self, other)</TT>
      <A HREF="nwscode/pydatetime.py.html?f=1664&amp;l=1671#1664" TITLE="View Source">...</A>
    </H4>
    <DIV CLASS="pudge-section rst">
      
    
    
  
    </DIV>
  </DIV>
  <DIV CLASS="pudge-member routine ">
    <A NAME="__gt__">
    </A>
    <H4 CLASS="pudge-member-name">
    <SPAN CLASS="prefix">f</SPAN>
      <TT>
      <A HREF="class-nwscode.pydatetime.datetime.html#__gt__" CLASS="pudge-obj-link">__gt__</A>(self, other)</TT>
      <A HREF="nwscode/pydatetime.py.html?f=1672&amp;l=1679#1672" TITLE="View Source">...</A>
    </H4>
    <DIV CLASS="pudge-section rst">
      
    
    
  
    </DIV>
  </DIV>
  <DIV CLASS="pudge-member routine ">
    <A NAME="__radd__">
    </A>
    <H4 CLASS="pudge-member-name">
    <SPAN CLASS="prefix">f</SPAN>
      <TT>
      <A HREF="class-nwscode.pydatetime.datetime.html#__radd__" CLASS="pudge-obj-link">__radd__</A>(self, other)</TT>
      <A HREF="nwscode/pydatetime.py.html?f=1711&amp;l=1727#1711" TITLE="View Source">...</A>
    </H4>
    <DIV CLASS="pudge-section rst">
      
    <P CLASS="pudge-member-blurb">
      Add a datetime and a timedelta.
    </P>
    
  
    </DIV>
  </DIV>
  <DIV CLASS="pudge-member routine ">
    <A NAME="__add__">
    </A>
    <H4 CLASS="pudge-member-name">
    <SPAN CLASS="prefix">f</SPAN>
      <TT>
      <A HREF="class-nwscode.pydatetime.datetime.html#__add__" CLASS="pudge-obj-link">__add__</A>(self, other)</TT>
      <A HREF="nwscode/pydatetime.py.html?f=1711&amp;l=1727#1711" TITLE="View Source">...</A>
    </H4>
    <DIV CLASS="pudge-section rst">
      
    <P CLASS="pudge-member-blurb">
      Add a datetime and a timedelta.
    </P>
    
  
    </DIV>
  </DIV>
  <DIV CLASS="pudge-member routine ">
    <A NAME="__sub__">
    </A>
    <H4 CLASS="pudge-member-name">
    <SPAN CLASS="prefix">f</SPAN>
      <TT>
      <A HREF="class-nwscode.pydatetime.datetime.html#__sub__" CLASS="pudge-obj-link">__sub__</A>(self, other)</TT>
      <A HREF="nwscode/pydatetime.py.html?f=1730&amp;l=1753#1730" TITLE="View Source">...</A>
    </H4>
    <DIV CLASS="pudge-section rst">
      
    <P CLASS="pudge-member-blurb">
      Subtract two datetimes, or a datetime and a timedelta.
    </P>
    
  
    </DIV>
  </DIV>
    
  
  
  <P>
    <SMALL>
    
    
    See 
    <A HREF="nwscode/pydatetime.py.html?f=1361&amp;l=1794#1361" TITLE="nwscode/pydatetime.py:1361">the source</A>
    for more information.
    </SMALL>
  </P>
</DIV>
    
    <DIV ID="footer">
      
      <P ID="pudge">
        Built with
        <A HREF="http://lesscode.org/projects/pudge/">
          Pudge/0.1.1</A>
      </P>
      
    </DIV>
    </DIV>
  </BODY>
</HTML>